home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-02 / tspa2560.zip / TSPAS.SUM < prev    next >
Text File  |  1991-10-27  |  7KB  |  164 lines

  1. Sun 27-October-1991
  2.  
  3. Summary of the Functions and Procedures in the TSPAxx## Package
  4.  
  5. Functions are indicated by the ending FN, the procedures by the lack
  6. of it.
  7.  
  8. TSUNTA: (uses Dos, Crt, TSUNTE)
  9.   ATTRIBFN Color attribute for direct write to video memory
  10.   HIGHTFN  Current height of text screen
  11.   PANML    Scroll screen left
  12.   PANMR    Scroll screen right
  13.   VDAEXYFN Direct read of a screen video memory color attribute
  14.   VDCHXY   Direct read from the screen video memory
  15.   VIDXY    Direct write to the screen video memory
  16.   WIDTHFN  Current width of the text screen
  17.  
  18. TSUNTB: (uses Dos)
  19.   BINDECFN Convert binary string to decimal word
  20.   BINFN    Convert decimal word to binary string
  21.   BITONFN  Boolean status of a bit in a word
  22.   BTEWRDFN Combine two bytes into a single word, inverse of Hi & Lo
  23.   CONVBFN  Convert a number (string) of any base to any other base
  24.   HEXDECFN Convert hexadecimal string to decimal word
  25.   HEXFN    Convert decimal word to hexadecimal string
  26.   HIWORDFN The high-order (hi) word of the longint argument
  27.   LBINFN   Convert decimal longint to binary string
  28.   LHEXFN   Convert decimal longint to hexadecimal string
  29.   LOWORDFN The low-order (lo) word of the longint argument
  30.   POWERFN  Conventional raising of a positive real to a power
  31.   POWERGFN Generalized raising of any real to a real power
  32.   POWERLFN Raise longint to a non-negative integer power fast
  33.   R16TOFN  Sixteen to a power fast (word)
  34.   TICKSFN  Count of 18.2 times per second ticks (longint)
  35.   TIMERFN  Seconds elapsed since midnight (real)
  36.   TWOTOFN  Two to a power fast (word)
  37.   WRDLNGFN Combine two words into a longint
  38.  
  39. TSUNTC: (uses Dos, Crt)
  40.   PLAYNOTE Play a note
  41.   REVCOLOR Reverse text colors (a toggle)
  42.  
  43. TSUNTD: (uses Dos)
  44.   AUDIO    Enhanced Sound procedure, no Crt unit needed
  45.   DOSDELAY Delay without needing the Crt unit
  46.   GETPRTFN Get the number of printer default timeout retry times
  47.   LEADFN   Lead a string with a multiple character (i.e. pad left)
  48.   LOWCASFN The opposite of UpCase (inline coded)
  49.   LPTONLFN Get the online status of the first parallel printer
  50.   PARSE    Extract all substrings from a string faster (1st method)
  51.   PARSENFN Number of substrings in a string (resembles ParamCount)
  52.   PARSERFN Get substrings from a string (resembles ParamStr)
  53.   PRTONLFN Get the online status of a printer (may fail)
  54.   PRTSCR   Print the current screen
  55.   SETPRT   Set the number of default printer timeout retry times
  56.   SPARTFN  Returns a specified substring (resembles ParamStr)
  57.   STRCNTFN Number of substrings in a string (resembles ParamCount)
  58.   TRAILFN  Trail a string with a multiple character (i.e. pad right)
  59.   TRIMLFFN Trim a string left
  60.   TRIMRGFN Trim a string right
  61.  
  62. TSUNTE: (uses Dos)
  63.   ALLSIZFN Allocated true size of a file in bytes
  64.   BORDER   Change border color (CGA, VGA)
  65.   CAPS     Turn CapsLock on, or off
  66.   CAPSONFN Get CapsLock status
  67.   CLB      Clear the keyboard buffer
  68.   CLUSIZFN Cluster size on a device (cluster is the allocation unit)
  69.   CMDLNFN  Returns the entire command line
  70.   CURSOFF  Turn off cursor (keeps other cursor attributes)
  71.   CURSON   Turn cursor back on as it was
  72.   CURSOR   Change cursor size
  73.   DATEOKFN Is a date a valid, existing date
  74.   FEXISTFN File existence status, handles ReadOnly files correctly
  75.   FSIZE2FN File size in bytes, alternative method
  76.   FSIZEFN  File size in bytes as in directory (never on open file)
  77.   LASTDMFN The number of days in a given month and year
  78.   MONOFN   Is it a monochrome
  79.   NUMLOCK  Turn NumLock on, or off
  80.   NUMLONFN Get NumLock status
  81.   SCRLOCK  Turn ScrollLock on, or off
  82.   SCRLONFN Get ScrollLock status
  83.   WEEKNRFN Returns the week number for a given date
  84.   WKDAYFN  Returns modern weekday
  85.   ZELLERFN Zeller's congruence (for comparing dates etc)
  86.  
  87. TSUNTF: (uses Dos, Crt)
  88.   EDRDLN   Readln with line-editing potential
  89.   EDREADLN Readln with line-editing, recall, and insert toggle
  90.   EDREABLN Edreadln with ctrl-c and break trapping
  91.  
  92. TSUNTG: (uses Dos)
  93.   ALTFN    Is the alt key depressed
  94.   CLS      Set 25*80 text mode and clear screen (no Crt required)
  95.   CLS40    Set 25*40 text mode and clear screen (no Crt required)
  96.   COLDBOOT Reboot computer, including memory tests
  97.   CTRLFN   Is the ctrl key depressed
  98.   DRIVESFN Number of diskette drives on the system
  99.   DSKCNTFN Get the number of disk devices (MsDos 3.0+)
  100.   FDRIVEFN The name of the first diskette drive on the system
  101.   FIXEDFN  Is a drive a fixed disk or not
  102.   GOATXY   As the ordinary GoToXY but no Crt unit required
  103.   INDRIVFN Is a media present in the given drive
  104.   INKEYFN  Basic-like timed character input
  105.   ISANSIFN Has ansi.sys a a similar driver been loaded
  106.   KEYPREFN As the ordinary KeyPressed but no Crt unit required
  107.   LFALTFN  Is the left alt key depressed
  108.   LFCTRLFN Is the left ctrl key depressed
  109.   LFSHFTFN Is the left shift key depressed
  110.   RDENKEFN Enhanced keyboard ReadKey, detects also F11 and F12
  111.   READKEFN As the ordinary ReadKey but no Crt unit required
  112.   REVAREA  Reverse the colors of an area
  113.   RTALTFN  Is the right alt key depressed
  114.   RTCTRLFN Is the right ctrl key depressed
  115.   RTSHFTFN Is the right shift key depressed
  116.   SYSRQFN  Is the SysRq key depressed
  117.   USECON   Restore write and writeln direction to the screen
  118.   USEPRN   Redirect write and writeln to the printer
  119.   WARMBOOT Warm reboot of the computer (as alt-ctrl-del)
  120.   WHEREXFN As the ordinary WhereX but no Crt unit required
  121.   WHEREYFN As the ordinary WhereY but no Crt unit required
  122.  
  123. TSUNTH: (uses Dos)
  124.   BOOTDRFN Get boot device name (MsDos 4.0+)
  125.   CHIPFN   Get the type of the processor chip (volatile)
  126.   COPYFILE Copy a file from within a Turbo Pascal program
  127.   COUNTRFN Get country code (MsDos 3.0+)
  128.   DATEFMFN Country-dependent date format (MsDos 3.0+)
  129.   FATSFN   Get number of file allocation tables, not XTs
  130.   GRTABLFN Has MsDos GRAFTABL been loaded or not
  131.   INTERLFN Get interleave coefficient of a harddisk, not XTs
  132.   ISDIRFN  Is a name a directory or not
  133.   ISENHAFN To detect an enhanced keyboard
  134.   LASTDRFN Get last drive of the system, softcoded, not XTs
  135.   MATHCOFN Is a math coprocessor present
  136.   NRCYLFN  Number of cylinders on a drive if media present (MsDos 3.2+)
  137.   OPENEDFN Is an assigned textfile still open or not
  138.   PARPORFN Get the number of parallel ports (printers installed)
  139.   PIPEDIFN Is the standard input from redirection
  140.   PIPEDNFN Is the standard output redirected to nul
  141.   PIPEDOFN Is the standard output redirected
  142.   ROMDTEFN Get ROM BIOS version (date)
  143.   RS232FN  Get the number of serial ports
  144.   TIMEFMFN Country-dependent time format (MsDos 3.0+)
  145.   Z2ASZFN  Convert an Asciiz string into an ordinary ascii string
  146.  
  147. TSUNTI: (uses Dos)
  148.   BRANDEXE Store information within your program's .exe file (MsDos 3.0+)
  149.   CHKSUMFN Checksum selftest to detect any tampering (MsDos 3.0+)
  150.   USECOUNT Get the number of times the program has been used
  151.  
  152. SELFTEST.PAS: (uses Dos)
  153.   SELFTEST Selftest .exe file's size and date to detect tampering
  154.  
  155. TSUNT45: (Uses Dos)  (Needed for TP 4.0 only)
  156.   DosVersion Get Dos version
  157.   EnvCount   The number of strings contained in the DOS environment
  158.   EnvStr     The value of an environment string defined by index count
  159.   FExpand    Expand a file name into a fully qualified file name
  160.   GetEnv     The value of an environment string defined by string id
  161.   ParamStr0  The name of the program
  162.  
  163. TSERR: (Include verbal run-time error messages)
  164.